﻿//----------------------------------------------------------------------------------------------------------------------
// <copyright file="Lookup.cs" company="Keith B. Rimington">
//
//   Copyright (c) 2011 Keith B. Rimington
//
//   Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
//     documentation files (the "Software"), to deal in the Software without restriction, including without limitation
//     the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
//     to permit persons to whom the Software is furnished to do so, subject to the following conditions:
//
//   The above copyright notice and this permission notice shall be included in all copies or substantial portions of
//     the Software.
//
//   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
//     THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
//     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
//     CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
//     DEALINGS IN THE SOFTWARE.
//
// </copyright>
//----------------------------------------------------------------------------------------------------------------------

namespace Noc.Pomodoro.ViewModels.Lookup
{
    /// <summary>
    /// Enumerates types of event log entries for pomodoros.
    /// </summary>
    public enum PomodoroEventType
    {
        /// <summary>
        /// Indicates internal interruptions.
        /// </summary>
        InternalInterrupt = 1,

        /// <summary>
        /// Indicates external interruptions.
        /// </summary>
        ExternalInterrupt = 2,
    }

    /// <summary>
    /// Enumerates states for individual pomodoros.
    /// </summary>
    public enum PomodoroState
    {
        /// <summary>
        /// Indicates the pomodoro has not been started.
        /// </summary>
        NotStarted = 1,

        /// <summary>
        /// Indicates the pomodoro is currently running.
        /// </summary>
        Running = 2,

        /// <summary>
        /// Indicates the pomodoro has been voided.
        /// </summary>
        Voided = 3,

        /// <summary>
        /// Indicates the pomodoro has been completed.
        /// </summary>
        Completed = 4
    }

    /// <summary>
    /// Enumerates types of tasks.
    /// </summary>
    public enum TaskState
    {
        /// <summary>
        /// Indicates the task has been completed.
        /// </summary>
        Completed = 1,

        /// <summary>
        /// Indicates the task was planned for in the estimating phase.
        /// </summary>
        ToDoToday = 2,

        /// <summary>
        /// Indicates the task was not planned for in the estimating phase, but is urgent.
        /// </summary>
        UrgentUnplanned = 3,

        /// <summary>
        /// Indicates the task was not planned for in the estimating phase, and is not urgent.
        /// </summary>
        Activity = 4,

        /// <summary>
        /// Indicates the task has been canceled from the register.
        /// </summary>
        Canceled = 5,
    }
}